Remove Python3 and some dependencies#41120
Conversation
…es, openssl, python3, readline, sqlite, and xz
|
Documentation preview for this PR (built with commit e3cd73e; changes) is ready! 🎉 |
Add explicit linking to ncurses for readline on Linux.
|
I am officially retiring from supporting the things in build/pkgs, sorry :) The changes look OK to me, only the |
|
the best way here is to remove Python package from the distro. It has about 1 user, who easily can do without it, too. |
It will break minimal linux CI. for minimal building, it needs python package. How to deal with this problem. and we can not test the building of such basic packages like readline ncurses and so on |
… improve directory management
Since Sage now requires system Python 3.12+, remove: - ubuntu-jammy (Python 3.10) - debian-bullseye (Python 3.9) - debian-bookworm (Python 3.11) - centos-stream-9 (Python 3.9) Keep only: - ubuntu-noble (Python 3.12) - fedora-40 (Python 3.12) - fedora-41 (Python 3.12/3.13) - opensuse-tumbleweed (rolling, has Python 3.12+)
Since Python 3.12 removed distutils from the standard library, setuptools is now required for the configure-time extension compilation tests. - debian.txt: Add python3-setuptools and python3-venv - opensuse.txt: Add python3-setuptools - fedora.txt: Add python3-setuptools
The configure-time extension compilation tests need Python.h header. - debian.txt: Add python3-dev - opensuse.txt: Add python3-devel - fedora.txt: Add python3-devel
CentOS Stream 10 has Python 3.12+ available, so it's compatible with the new system Python requirement. - docker.yml: Add centos-stream-10 to tox_system_factors - tox.ini: Add centos-stream-10 with BASE_TAG=stream10 CentOS uses SYSTEM=fedora, so fedora.txt prereqs apply which already have python3-devel and python3-setuptools.
|
This seems a race condition |
dimpase
left a comment
There was a problem hiding this comment.
can you make this a separate PR?
Yes. I will push force. Please help me relabel this positive |
|
link to #41875 |
|
@dimpase This also should be relabelled as positive |
|
@dimpase @tobiasdiez the primecount package in Ubuntu 26.04 is also problematic. The ubuntu maths team does not fix it until now. We may wait it apply 8.3 version? https://code.launchpad.net/ubuntu/+source/primecount |
|
Or we just remove primecount debian directly? I do not know if someone can contact the ubuntu math team to fix this |
can we fix the CI to not use system primecount on Ubuntu? |
you should add to your report the primecount upstream acknowledgement that it is a bug, and a link to the fixed version. |
I have reported this to debian. but Ubuntu team does not release primecount 8.2, also use the problematic version. I think I will remove primecount from spkg/primecount/distro/debian |
I am talking about |
Yes, we have to wait. The Ubuntu team deal with this so slow. or we can check the version from pc file |
📝 Checklist
⌛ Dependencies